package com.im.chat.service.impl;

import com.im.chat.base.BasePageServiceImpl;
import com.im.chat.base.BasePagination;
import com.im.chat.dao.ChatSessionMapper;
import com.im.chat.dao.MemberMapper;
import com.im.chat.model.ChatSession;
import com.im.chat.model.Member;
import com.im.chat.service.ChatSessionService;
import com.im.chat.service.MemberService;
import com.im.chat.util.ChatConstant;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

@Service
public class MemberServiceImpl  implements MemberService {
    @Autowired
    private MemberMapper memberMapper;


    @Override
    public Member findById(Long id) {
        return memberMapper.selectByPrimaryKey(id);
    }
}
